package com.zzy.model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**公用类*/
@MappedSuperclass
public abstract class CommonModel {

    /**创建人ID*/
    private java.lang.String createUserId;
    /**创建人*/
    private java.lang.String createUserName;
    /**创建时间*/
    private java.lang.String createTime;

    /**流程定义ID*/
    private String flowDepId;
    /**流程ID*/
    private String flowId;
    /**流程名字*/
    private String flowName;
    /**节点Id*/
    private String nodeId;
    /**节点*/
    private String nodeName;

    /**下个任务Id*/
    private String taskId;

    /**状态
     * 0 表示发起
     * 1 表示进行中
     * 2 表示退回
     * 9 表示结束
     * */
    private String state;


    @Column(name = "create_user_id", nullable = true,length = 36 )
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }
    @Column(name = "create_user", nullable = true,length = 255 )
    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
    @Column(name = "create_time", nullable = true,length = 20 )
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Column(name = "flow_dep_id", nullable = true,length = 36 )
    public String getFlowDepId() {
        return flowDepId;
    }

    public void setFlowDepId(String flowDepId) {
        this.flowDepId = flowDepId;
    }

    @Column(name = "flow_id", nullable = true,length = 36 )
    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    @Column(name = "node_id", nullable = true,length = 36 )
    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    @Column(name = "node_name", nullable = true,length = 255 )
    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    @Column(name = "state", nullable = true,length = 255 )
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Column(name = "flow_name", nullable = true,length = 255 )
    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    @Column(name = "task_id" )
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
}
